package com.tiancheng.trade.order.bo.cmq;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class CreditOrderBO {
    /**
     * 订单状态
     */
    @JSONField(name = "state")
    private String orderState;
    /**
     * 预授权订单id
     */
    @JSONField(name = "alipay_auth_no")
    private String alipayAuthNo;
    /**
     * 订单中心订单id
     */
    @JSONField(name = "order_id")
    private String orderId;
    /**
     * 预授权订单总金额（分）
     */
    @JSONField(name = "total_amount")
    private Integer totalAmount;
    /**
     * 预授权订单总冻结金额
     */
    @JSONField(name = "total_freeze_amount")
    private Integer totalFreezeAmount;
    /**
     * 预授权订单冻结信用总金额
     */
    @JSONField(name = "total_freeze_credit_amount")
    private Integer totalFreezeCreditAmount;
    /**
     * 预授权订单冻结资金总金额（分）
     */
    @JSONField(name = "total_freeze_fund_amount")
    private Integer totalFreezeFundAmount;
    /**
     * 预授权订单转支付总金额（分）
     */
    @JSONField(name = "total_pay_amount")
    private Integer totalPayAmount;
    /**
     * 预授权订单剩余金额（分）
     */
    @JSONField(name = "rest_amount")
    private Integer restAmount;
    /**
     * 业务侧订单id
     */
    @JSONField(name = "platform_order_id")
    private String platformOrderId;
    /**
     * 业务侧订单id
     */
    private String uid;
}
